from apscheduler.schedulers.background import BackgroundScheduler

from util.LogHelper import Log


def job():
    pass


def start_scheduler():
    scheduler = BackgroundScheduler()
    scheduler.add_job(job, 'interval', seconds=60)

    scheduler.start()
    Log.getlogger().debug("scheduler start......")
